require 'sinatra/base'

class WebHandler < Sinatra::Base

    configure do
        ## Tell WebHandler where to serve static files from
        set :public_folder, File.dirname(__FILE__) + '/../public'
    end

    get '/' do
        send_file File.join(settings.public_folder, 'index.html')
    end
end